const path = require("path")
var webpack = require('webpack')

module.exports = {
    entry: path.join(__dirname, "app", "main"),
    output: {
        filename: "bundle.js",
        path: path.resolve(__dirname, "./dist")
    },
    devServer: {
        // host: "localhost",
        // port: 8080,
        open: true,
        contentBase: "./dist",
        watchContentBase: true,
        openPage: "./login.html"
    }
}